package com.sls.mall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * 定时任务配置
 */
@EnableAsync // 开启异步
@EnableScheduling // 开启定时任务
@Configuration
public class ScheduledConfig {

}
